Warp
Warp image by freely moving the corners.
Node Data | |
|---|---|
Display name | |
Warp | |
Internal name | |
Node_Warp | |
Inheritances | |
| Node_Processor | |
| Node_Warp | |
Inputs | |
Surfaces | |
surface |
Surface In |
surface |
Back Surface |
enum |
Dimension Type |
vec2 |
Dimension |
vec2 |
Relative Dimension |
Area | |
area |
Area |
Warp | |
vec2 |
Top Left |
vec2 |
Top Right |
vec2 |
Bottom Left |
vec2 |
Bottom Right |
Render | |
vec2 |
Uv Position |
vec2 |
Uv Scale |
toggle |
Tile |
bool |
Draw Original |
Outputs | |
surface |
Surface Out |
Attributes | |
| Color Depth | |
| Interpolation | |
Wrap each surface corner independently.
Properties
| Surfaces | |
| Back Surface | Use different surface when wrap surface flip to the back side. |
| Area | |
| Area | Set custom area to map the surface from. |
| Render | |
| Tile | Tile surface to fill all available space (if possible.) |
| Draw Original | When using custom Area, whether to draw the original surface behind the wrapped surface. |
Related Links
- Base Code: /scripts/node_warp/node_warp.gml
- Shader [sh_warp_4points]: /shaders/sh_warp_4points/sh_warp_4points.fsh